package com.tdr.myandroid.Service;

import android.content.Context;
import android.content.Intent;

/**
 * Created by Administrator on 2014/7/23.
 */
public class AssistService implements ServiceProtocol {
    private Intent intent = new Intent().setAction("com.tdr.myandroid.service.ACTION");

    @Override
    public void beginService(Context context) {
        context.startService(intent);
    }

    @Override
    public void endService(Context context) {
        context.stopService(intent);
    }
}
